package com.shd.edanpei.bean;

import com.shd.edanpei.citypicker.utils.StringUtils;
import com.shd.edanpei.common.Constant;
import com.shd.edanpei.util.DateUtils;

/**
 * Created by mc on 2018/10/18.
 * yang-wen-wen
 */

public class MeNeedModel {

    /**
     * createTime : 1539847508000
     * createUserId : 57
     * industrySelect : 车辆中介
     * needProduct : 活动
     * remark : POS倪敏
     * requirementId : 1
     */

    private long createTime;
    private int createUserId;
    private String industrySelect;
    private String needProduct;
    private String remark;
    private int requirementId;

    public String getCreateTime() {
        if(createTime==0)
            return "2012-12-12";
        return DateUtils.formatTime(createTime, Constant.Time.YYYY_MM_DD.getTime());
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(int createUserId) {
        this.createUserId = createUserId;
    }

    public String getIndustrySelect() {
        return industrySelect;
    }

    public void setIndustrySelect(String industrySelect) {
        this.industrySelect = industrySelect;
    }

    public String getNeedProduct() {
        return "新增" + needProduct + "订单需求";
    }

    public void setNeedProduct(String needProduct) {
        this.needProduct = needProduct;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getRequirementId() {
        return requirementId;
    }

    public void setRequirementId(int requirementId) {
        this.requirementId = requirementId;
    }

}
